package jpa.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.repository.query.QueryLookupStrategy;

/**
 * 默认配置就好
 * Created by barton on 16-4-29.
 */
@Configuration
@EnableJpaRepositories(basePackages = {"jpa.repository"}, queryLookupStrategy = QueryLookupStrategy
        .Key.CREATE_IF_NOT_FOUND)
public class JpaConfig {
}
